﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Design_Pattners.Composite
{
    public interface IComponent
    {
        void Init();        
        void Draw(float gameTime);
        void Add<T>(T c) where T : IComponent;
        void Remove<T>(T c) where T : IComponent;
    }
}
